package com.brp2p.controller.mobile;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.brp2p.utils.AjaxMsg;
import com.brp2p.utils.BaseSupport;

/**
 * 
 * @author Ranxc
 *
 */
@Controller
@RequestMapping("mobile")
public class MobileSystemResourceController extends BaseSupport {
	
	/**
	 * 获取启动界面宣传图片文件
	 * @param request
	 * @param response
	 * @return
	 */
	@RequestMapping(value="")
	public @ResponseBody String navigateImages(HttpServletRequest request,HttpServletResponse response){
		return "";
	}
	
	/**
	 * 检查更新
	 * @return 返回无更新信息“”，或一个更新地址
	 */
	@RequestMapping(value="/checkForUpdate")
	public @ResponseBody String checkForUpdate(HttpServletRequest request, HttpServletResponse response){
		AjaxMsg ajaxMsg = null;
		return ajaxMsg.toJson();
	}
	
}
